load("@fbsource//tools/build_defs:rust_library.bzl", "rust_library")

oncall("scm_server_infra")

rust_library(
    name = "scuba_ext",
    srcs = glob(["src/**/*.rs"]),
    deps = [
        "fbsource//third-party/rust:anyhow",
        "fbsource//third-party/rust:nonzero_ext",
        "//common/rust/shed/fbinit:fbinit",
        "//common/rust/shed/futures_stats:futures_stats",
        "//common/rust/shed/justknobs_stub:justknobs",
        "//common/rust/shed/sampling:sampling",
        "//common/rust/shed/scuba_stub:scuba",
        "//common/rust/shed/time_ext:time_ext",
        "//eden/mononoke/common/memory:memory",
        "//eden/mononoke/common/metadata:metadata",
        "//eden/mononoke/common/scribe_ext:scribe_ext",
        "//eden/mononoke/observability:observability",
        "//eden/mononoke/permission_checker:permission_checker",
        "//eden/scm/lib/clientinfo:clientinfo",
    ],
)
